package org.example.domain.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;


public class Users {

   @TableId(type = IdType.AUTO,value = "user_id")
   private Integer userId;
   private Integer userStatus;
   private String username;
   private String password;
   private String nickname;
   private String realname;
   private String userImg;
   private String userMobile;
   private String userEmail;
   private String userSex;
   private LocalDate userBirth;
   @TableField(fill = FieldFill.INSERT)
   private LocalDateTime userRegtime;
   @TableField(fill = FieldFill.INSERT_UPDATE)
   private LocalDateTime userModtime;
   public Integer getUserStatus() {
      return userStatus;
   }

   public void setUserStatus(Integer userStatus) {
      this.userStatus = userStatus;
   }


   public Integer getUserId() {
      return userId;
   }

   public void setUserId(Integer userId) {
      this.userId = userId;
   }

   public String getUsername() {
      return username;
   }

   public void setUsername(String username) {
      this.username = username;
   }

   public String getPassword() {
      return password;
   }

   public void setPassword(String password) {
      this.password = password;
   }

   public String getNickname() {
      return nickname;
   }

   public void setNickname(String nickname) {
      this.nickname = nickname;
   }

   public String getRealname() {
      return realname;
   }

   public void setRealname(String realname) {
      this.realname = realname;
   }

   public String getUserImg() {
      return userImg;
   }

   public void setUserImg(String userImg) {
      this.userImg = userImg;
   }

   public String getUserMobile() {
      return userMobile;
   }

   public void setUserMobile(String userMobile) {
      this.userMobile = userMobile;
   }

   public String getUserEmail() {
      return userEmail;
   }

   public void setUserEmail(String userEmail) {
      this.userEmail = userEmail;
   }

   public String getUserSex() {
      return userSex;
   }

   public void setUserSex(String userSex) {
      this.userSex = userSex;
   }

   public LocalDate getUserBirth() {
      return userBirth;
   }

   public void setUserBirth(LocalDate userBirth) {
      this.userBirth = userBirth;
   }

}
